package Teamdomain;

/**
 * @program: Demo2
 * @description:
 * @author: Yan Guang
 * @create: 2020-04-23 11:14
 */
public class Designer extends Programmer {
    private double bouns;

    public Designer(int id, String name, int age, double salary, Equipment equipment, double bouns) {
        super(id, name, age, salary, equipment);
        this.bouns = bouns;
    }

    public double getBouns() {
        return bouns;
    }

    public void setBouns(double bouns) {
        this.bouns = bouns;
    }
    public String toString(){
        return getDetil()+getEquipment()+getStatus()+bouns;
    }
}
